package com.dcd.service;

import com.dcd.pojo.Follow_car_series;
import java.util.List;
public interface Follow_car_seriesService {

    /**
     * 关注指定车系
     *
     * @param follow_car_series 关注车系对象
     * @return
     */
    boolean insert_follow_car_series(Follow_car_series follow_car_series);

    /**
     * 删除指定用户关注的车系
     *
     * @param follow_car_series 关注车系对象
     * @return
     */
    boolean delete_follow_car_series(Follow_car_series follow_car_series);

    /**
     * 查询用户是否关注指定车系
     *
     * @param follow_car_series
     * @return
     */
    boolean select_user_whether_follow_car_series(Follow_car_series follow_car_series);

    /**
     * 根据用户登录的id查询所有关注的车系
     * @param user_id 登录的用户id
     * @return
     */
    List<Follow_car_series> select_follow_car_series(int user_id);


}
